<?php
/*
 * @Author: your name
 * @Date: 2020-12-23 12:01:16
 * @LastEditTime: 2020-12-25 14:45:15
 * @LastEditors: Please set LastEditors
 * @Description: 防火墙日志状态
 * @FilePath: /special/application/api/controller/directive/netfilter/LogController.php
 */

namespace app\api\controller\directive\netfilter;


use app\api\controller\BaseController;
use app\api\model\HostLearnConfigModel;

class LogController extends BaseController
{
    /**
     * 防火墙日志状态
     */
    public function firewallLogStatus(){
        $inputData = $this->filterInput();//输入数据
        $model = new HostLearnConfigModel();
        $data = $model->firewallLogStatus($inputData['hostkey']);

        $this->setCallBackStatus(false);
        return $this->jsonOutPut($data);
    }
}